/*
* Project Wok
*
* Copyright IBM Corp, 2016
*
* Code derived from Project Kimchi
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

  span.twitter-typeahead .tt-menu,
  span.twitter-typeahead .tt-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 100%;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: $btn-default-bg;
    border: 1px solid $btn-default-border;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
  }
  span.twitter-typeahead .tt-suggestion {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: $list-group-link-heading-color;
    white-space: nowrap;
  }
  span.twitter-typeahead .tt-suggestion.tt-cursor,
  span.twitter-typeahead .tt-suggestion:hover,
  span.twitter-typeahead .tt-suggestion:focus {
    color: $dropdown-link-hover-color;
    text-decoration: none;
    outline: 0;
    background-color: $dropdown-link-hover-bg;
  }
  .input-group.input-group-lg span.twitter-typeahead .form-control {
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
  }
  .input-group.input-group-sm span.twitter-typeahead .form-control {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
  }
  span.twitter-typeahead {
    width: 100%;
  }
  .input-group span.twitter-typeahead {
    display: block !important;
    height: 34px;
  }
  .input-group span.twitter-typeahead .tt-menu,
  .input-group span.twitter-typeahead .tt-dropdown-menu {
    top: 32px !important;
  }
  .input-group span.twitter-typeahead:not(:first-child):not(:last-child) .form-control {
    border-radius: 0;
  }
  .input-group span.twitter-typeahead:first-child .form-control {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .input-group span.twitter-typeahead:last-child .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
  }
  .input-group.input-group-sm span.twitter-typeahead {
    height: 30px;
  }
  .input-group.input-group-sm span.twitter-typeahead .tt-menu,
  .input-group.input-group-sm span.twitter-typeahead .tt-dropdown-menu {
    top: 30px !important;
  }
  .input-group.input-group-lg span.twitter-typeahead {
    height: 46px;
  }
  .input-group.input-group-lg span.twitter-typeahead .tt-menu,
  .input-group.input-group-lg span.twitter-typeahead .tt-dropdown-menu {
    top: 46px !important;
  }

  .form-control.tt-input {
      font-weight: 600;
      color: $gray-base !important;
  }

  .form-control.tt-hint {
      font-weight: 600;
      color: $gray-light !important;
  }

  .form-control.tt-hint[disabled=disabled] {
      background: $input-bg-disabled !important;
  }
